/*
 Navicat Premium Data Transfer

 Source Server         : tuomaxu
 Source Server Type    : MySQL
 Source Server Version : 80021
 Source Host           : localhost:3306
 Source Schema         : task34

 Target Server Type    : MySQL
 Target Server Version : 80021
 File Encoding         : 65001

 Date: 20/05/2021 23:41:02
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for lagou_auth_code
-- ----------------------------
DROP TABLE IF EXISTS `lagou_auth_code`;
CREATE TABLE `lagou_auth_code` (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '⾃自增主键',
  `email` varchar(64) DEFAULT NULL COMMENT '邮箱地址',
  `code` varchar(6) DEFAULT NULL COMMENT '验证码',
  `createtime` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  `expiretime` timestamp NULL DEFAULT NULL COMMENT '过期时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for lagou_token
-- ----------------------------
DROP TABLE IF EXISTS `lagou_token`;
CREATE TABLE `lagou_token` (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '⾃自增主键',
  `email` varchar(64) NOT NULL COMMENT '邮箱地址',
  `password` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL COMMENT '令牌',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of lagou_token
-- ----------------------------
BEGIN;
INSERT INTO `lagou_token` VALUES (1, '1234', '1234', 'd9a2582f-66fe-4cea-9d12-00d423b6681a');
INSERT INTO `lagou_token` VALUES (2, '1111', '1111', 'e6e51197-5b0a-4a68-8e78-d616f1254cee');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
